package com.jtcl.design.prototypeMode;

/**
 * 原型类
 * @author sjt
 * @since 2021-04-28 11:47
 */
public class Realizetype implements Cloneable {
    Realizetype() {
        System.out.println("MAC电脑模具生产成功");
    }

    @Override
    public Object clone() throws CloneNotSupportedException {
        System.out.println("3D打印MAC电脑");
        return (Realizetype) super.clone();
    }
}
